<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<style type="text/css">
.layer{
	width:600px;
 	padding: 5px;
 	border-left:1px solid gray;
 	border-right:1px solid gray;
 	border-bottom:1px solid gray;
 	
}
#title{
font-weight: bold;
border-top:1px solid gray;
}
#info{
font-size: 13px;
}
#content{
min-height:300px; 
height:auto;
}
</style>

<script type="text/javascript">
</script> 
<form>
	<table align="center">
	  <tr><td>
		<div id="title" class="layer">
		${requestScope.paper.paperNum }. ${requestScope.paper.title }
		</div>
		<div id="info" class="layer">
		작성자 : ${requestScope.paper.writer } | 조회수 : ${ requestScope.paper.cnt} | 작성일시 : ${requestScope.paper.writeDate}
		</div>
		<div id="content" class="layer">
		${requestScope.paper.content }
		</div>
		<div style="margin-top: 30px" align="center">
			<a href="/${initParam.context_root }/board/modifyForm.do?bid=${requestScope.paper.boardId}&num=${requestScope.paper.paperNum}&page=${param.page}">수정</a> |
			<a href="/${initParam.context_root }/board/deleteContent.do?bid=${requestScope.paper.boardId}&num=${requestScope.paper.paperNum}&page=${param.page}">삭제</a> |
			<a href="/${initParam.context_root }/board/replyForm.do?bid=${requestScope.paper.boardId}&num=${requestScope.paper.paperNum}&page=${param.page}">답글</a> |
		</div>
		<input type="hidden" name="bid" value="${requestScope.paper.boardId}"/>
		<input type="hidden" name="num" value="${requestScope.paper.paperNum}"/>
	  </td></tr>
	</table>
</form>